package com.cy.mapper;

import com.cy.bean.Coach;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CoachMapper {
    //教练列表
    public List<Coach> coachList(Coach coach);

    //修改教练状态
    public int updateCoachState(Coach coach);

    //删除教练
    public int deleteCoach(Coach coach);

    //修改教练信息
    public int updateCoach(Coach coach);

    //新增教练
    public int addCoach(Coach coach);
}
